import router from './router'
import './App.css'
import {useRoutes,Link} from "react-router-dom";

function App() {
 const outLet =  useRoutes(router)

    return (
    <div>

        <Link to="/home">Home</Link>
        <Link to="/about">About</Link>
        { outLet }
    </div>
  )
}

export default App
